package com.xzbd.springbootmybatiesdm.mapper;

import java.util.List;
import java.util.Map;

import com.xzbd.springbootmybatiesdm.domain.Event;

import org.apache.ibatis.annotations.Mapper;
// import org.apache.ibatis.annotations.Select;

@Mapper
public interface EventMapper{

    // @Select("select 1 as id,2 as ruleId,3 as ruleName,now as createTime from dual;")
    List<Event> list(Map<String, Object> params);

	Integer count(Map<String, Object> params);

	int update(Event event);

	int del(String id);

	Event getEventById(String id);

	int add(Event event);
}